/*
-----------------------------------------------------------------------------
Filename:    jTimer.h
-----------------------------------------------------------------------------

http://lemoncog.co.uk/

Timer class for use in the game for all your time related needs.

-----------------------------------------------------------------------------
*/
#ifndef __jTimer_h_
#define __jTimer_h_

#include "SDL\SDL.h"

class jTimer
{

public:
	jTimer();
	~jTimer();

	void Start();
	void Stop();

	void Resume();
	void Reset();

	int getMilliSeconds();
	int getSeconds();
	int getMins();

	void setStopWatchTime();

protected:
	int m_ActualTicks;
	int m_StopWatchCurrentTicks;
	int m_Pause1Ticks;

	int m_StopWatchTime;

	bool m_Paused;

	int m_Hours;
	int m_Mins;
	int m_Secounds;
	int m_Milliseconds ;

};

#endif